#ifndef SIGNLOGIN_H
#define SIGNLOGIN_H

#include <QWidget>
#include <QTcpSocket>
#include "stdshared.h"
#include "client.h"
#include "choosemode.h"
#include "myclientsocket.h"
#include "handlemessage.h"

namespace Ui {
class SignLogin;
}

class SignLogin : public QWidget
{
    Q_OBJECT

public:
    explicit SignLogin(QWidget *parent = nullptr);
    ~SignLogin();

private slots:
    void on_regisBtn_clicked();

    void on_loginBtn_clicked();

   // void handleRecvDataSlot(const QByteArray &data);

private:
    Ui::SignLogin *ui;

    //Client * m_socket;

    MyClientSocket * m_socket;
    ChooseMode * m_mode;

    handlemessage * m_handlemessage;
};

#endif // SIGNLOGIN_H
